package com.xjcs.saplingplan.ui.activity

import android.os.Bundle
import androidx.activity.viewModels
import com.xjcs.saplingplan.base.BaseVbActivity
import com.xjcs.saplingplan.const.setSingleClick
import com.xjcs.saplingplan.databinding.ActivityLoginBinding
import com.xjcs.saplingplan.ui.viewmodel.UserViewModel

class LoginActivity : BaseVbActivity<ActivityLoginBinding>() {

    override fun getViewBinding(): ActivityLoginBinding {
        return ActivityLoginBinding.inflate(layoutInflater)
    }

    private val mViewModel : UserViewModel by viewModels()

    override fun initUi(savedInstanceState: Bundle?) {
    }

    override fun registerObserver() {
    }

    override fun initListener() {
        //微信登录
        mBinding.ivWx.setSingleClick {

        }
        //QQ登录
        mBinding.ivQq.setSingleClick {

        }
        //登录
        mBinding.tvLogin.setSingleClick {

        }
    }

}